import io.reactivex.Single;

public class C15 {

    public static void main(String[] args) {
        /* the first() operator will return a Single */
        Single.just("Hello")
              .map(String::length)
              .subscribe(System.out::println,
                         Throwable::printStackTrace);
    }

}
//EOP
